<template>
  <div id="app">
    <router-view/>
  </div>
</template>

export 
<script>
export default {
  name:'App'
}
//动态确定html的font-size
document.addEventListener('DOMContentLoaded',()=>{
  const html=document.querySelector('html');
  let fontSize=window.innerWidth/10;
  fontSize=fontSize>50?50:fontSize;
  html.style.fontSize=fontSize+'px';
})
</script>

<style lang="scss">

</style>
